package com.xl.baseMethod;

import lombok.extern.slf4j.Slf4j;


/**
 * JdkVersion: 1.8
 * Author: lei·xie
 * Created: 2024/8/5 0002 10:22
 * Description: 基本方法 start run
 */
@Slf4j(topic = "b.Test1")
public class ThreadDemo01 {
    public static void main(String[] args) {
        Thread t1 = new Thread("t1"){
            @Override
            public void run() {
                log.debug("running");
            }
        };
        t1.start();
        //t1.start();
        log.debug("do other things");
    }
}
